﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace He.BLL
{
    public partial class wx_keyword
    {		
        /// <summary>
        /// 是否存在该记录
        /// </summary>
        public bool ExistsByArticleId(int articleId)
        {
            return dal.ExistsByArticleId(articleId);
        }

        /// <summary>
        /// 修改一列数据
        /// </summary>
        public void UpdateField(int Id, string strValue)
        {
            dal.UpdateField(Id, strValue);
        }

        /// <summary>
        /// 得到一个对象实体
        /// </summary>
        public Model.wx_keyword GetModel(string keyword)
        {
            return dal.GetModel(keyword);
        }

        /// <summary>
        /// 得到一个对象实体
        /// </summary>
        public Model.wx_keyword GetModelByArticleId(int articleId)
        {

            return dal.GetModelByArticleId(articleId);
        }

        /// <summary>
        /// 删除一条数据
        /// </summary>
        public bool DeleteByArticleId(int articleId)
        {
            return dal.DeleteByArticleId(articleId);
        }

        /// <summary>
        /// 获得查询分页数据
        /// </summary>
        public DataSet GetPageList(int pageSize, int currentPage, string strWhere, string filedOrder)
        {
            return dal.GetPageList(pageSize, currentPage, strWhere, filedOrder);
        }
    }
}
